<script>
	import db from 'util/db.js'
	export default {
		onLaunch: function() {
			console.log('App Launch')
			// 创建数据库
			db.createDB()
			db.createUser()
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
	@import "uview-ui/index.scss";
	@import "scss/scss.scss";
</style>
